using System.Collections.Generic;
using DAL;
using Model;

namespace BLL {
    public class RoomBLL {
        private RoomDAL _roomDal = RoomDAL.GetInstance();
        private RoomBLL(){}
        private static RoomBLL _instance;

        public static RoomBLL Instance {
            get {
                if (_instance == null) {
                    _instance = new RoomBLL();
                }
                return _instance;
            }
        }

        public List<Room> QueryAllRoom() {
            return _roomDal.SelectAllRoom();
        }
    }
}